﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EislaufScb.WebForms.ViewModel.News;

namespace EislaufScb.WebForms.Views.News
{
    public partial class Home : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.NewsDataList.DataSource = NewsHomeViewModel.GetNews();
            this.NewsDataList.DataBind();
        }
    }
}